package com.cmc.cloud.cmclink.doc.vo.voyagebsahgvo;

import lombok.*;

import java.math.BigDecimal;

import io.swagger.v3.oas.annotations.media.Schema;
import com.cmes.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

import static com.cmes.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

/**
 * 高箱计算标准分页 Request VO
 *
 * @author codegen
 */
@Schema(description = "管理后台 - 高箱计算标准分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class VoyageBsaHgPageReqVO extends PageParam {

    @Schema(description = "舱位主信息id", example = "29370")
    private Long voyageBsaId;

    @Schema(description = "箱型", example = "2")
    private String cntrType;

    @Schema(description = "箱尺寸")
    private String cntrSize;

    @Schema(description = "teu标准")
    private BigDecimal teuStandard;

    @Schema(description = "unit阈值")
    private Integer unitThreshold;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}
